package com.management.location.controller;

import org.beetl.sql.core.engine.PageQuery;

import com.jfinal.aop.Enhancer;
import com.jfinal.core.Controller;
import com.management.location.service.TestLocationService;

public class TestLocationController extends Controller
{

	TestLocationService testLocationService = Enhancer.enhance(TestLocationService.class);

	public void index() {
		//renderJson(testLocationService.findByPage(getBean(PageQuery.class)));
		render("aaa.html");
	}
	
	
	public void aaa(){
		
		renderJson(testLocationService.findByPage(getBean(PageQuery.class,"")));
	}
}
